import {commGet, commPost} from "@utils/service/index.js";
export function getWarehousePage(data) {
    return commGet({
        url: `/wms/warehouse/page`,
        method: 'get',
        data
    })
}
export function getWarehouseDetail(data) {
    return commGet({
        url: `/wms/warehouse/detail`,
        method: 'get',
        data
    })
}
export function editWarehouse(data) {
    return commPost({
        url: `/wms/warehouse/edit`,
        method: 'post',
        data
    })
}

export function syncWarehouse(data) {
    return commPost({
        url: `/wms/warehouse/sync`,
        method: 'post',
        data
    })
}
